cleaned up instruments socket client