Made it so the timeout actually works

not sure why it wasn't before?