Updated dependencies. Fixed issue when timeout is set to Infinity