removing cruft
Closing the connection if there is nothing to send and NSF_FINISHED_SENDING_DATA is set