Add test for if connections is not provided and the timeout has not expired - thanks @manishtomar