Fixing some requests that weren't completing correctly
Fixed silent exit on sigpipe