Update write_http.c

Adding abort on stuck connection