Catch connection problems while screenshotting (still not sure why this happens :S)