store instance of web socker server in manager