[AMQPConsumer] Remove an unsed constant "DEFAULT_TIMEOUT"
[server][test] Remove unused variables