Fixed exception catching bug, changed ping frequency