deleting server and client instances