handling forced closure of client but server continues to work