sleep before opening browser