Added timer to ping server in order to detect when nodemon has restarted