Check client callbacks, kick unreachable clients

Added a separate thread that checks client callbacks ever 3 seconds. Clients with no more working callbacks will be kicked.