Timeout uninitialised pointer

Hey 

I was getting segfaults when running `-t 1`  (or any number) for the `timeout_state` branch. It seems that because `timeout_sta` was not initialised, it ended up passing the check for !NULL.