BugFix: Crashed if connection could not be established