wait for ack in basic_publish()