Allow setting custom timeouts