sleep after opening default browser to block opeing browser infinity