Fixed some errornous exception handling when build server becomes unavailable