properly implement a 1s timeout...
... instead of just sitting around for a second