java based, thread manager with client heartbeat function