Added another rescue for timeout exception on rest_client