force write everything onto the socket