Close old socket and create new TCP client instance to allow for reconnects