AMQPConnection: checkConnection -> connection + implementation is improved (bug is fixed).