added new convenience signature for timeout