timeout is in millis but expected in seconds