gets rid of blocking callback socket reply flow