Added timeout to pinging servers, fixed query status never going through on local servers