Added a break out of loop for when not getting server response