Made do_negotiation_request atomic