Bug 1059653 - check for a non-null connection before zapping its _result; r=telliott