if (!socket.handshake.session.clientAuthenticatedOn ||
                    new Date().getTime() - socket.handshake.session.clientAuthenticatedOn > 1000 * 60 * config.maxWaitingTime) {
                    // If a client forgot to logout then force logout after configured inactivity timeout of translator
                    if (new Date().getTime() - serviceDistributor.getLastActivity() > 1000 * 60 * config.inactiveTimeout) {
                        console.info('client :: no active translation session. Forcing disconnect of the client ' + socket.id);