Catch the connection and timeout exceptions when inspecting and removing containers during the get instances