fix _wait_restart_on_redirects function
fix _wait_restart_on_redirects function

pawelmhm/splash,kod3r/splash,kmike/splash,dwdm/splash,pawelmhm/splash,pawelmhm/splash,pombredanne/splash,Youwotma/splash,kod3r/splash,kmike/splash,kmike/splash,dwdm/splash,kod3r/splash,sunu/splash,Youwotma/splash,Youwotma/splash,dwdm/splash,sunu/splash,sunu/splash,pombredanne/splash,pombredanne/splash