Catch ValueErrors when trying to read the pidfile.