fixed set_timeout errors in timeout usage

See comments on https://jira.mongodb.org/browse/PERL-162