Fixed issue: Crash on connection unavailable