Convert float timeouts to ints (to work around Django issue #16533)