LPS-47066 Extend fix for the case when the remote server is unreachable