Add the logic to pause the client for specified time & bring back to
front after that.
Added the logic to pause the client & bring back