Block all signals while sleeping; this prevents 100% cpu usage