Implemented remaining communication timeouts and maximum retry count.