on socket timeout we now send a close frame