Check if the loop is alive before obtaining a timeout.
Authored by: killme0 2014-11-30
Parent: [r958]
Child: [r960]