separated client and server code; it now reproduce the issue where server stops all the subscription on hot code push;