Handle 'Connection refused' errors when connecting to the forwarded Docker port