Fix bug in timeout argument