Wrong timeout: should be 1 second, not 1000 seconds