amqp plugin: Rename the "shutdown" function to avoid problems with shutdown(2).