Catch Networkexception
Merge pull request #1065 from Catrobat/CAT-998

[CAT-998] Catch Networkexception