increased timeout, added timeout parameter and handle error probably in connect