now checking the server version, restarting if mismatch