added code to delete clients at the disconnect handler

Clients may be leftover if they failed to send the DELETE request