Add an error message when pidfile can't be created