Don't use max int as timeout value