Earlier the pid-file was deleted only if the MaxScale startup succeeded and MaxScale exited in normal fashion.