check return of amqp publish