Fixed an hanging unit tests

(At least one my computer)
urlib2.urlopen probably has weird defaults on my OS.
Maybe rpc.RemoteScheduler should read connect_timeout from config?