Change timeouts to miliseconds

this seems to speed things up a bit.