Add a ping timeout of 2 seconds