Handle pid file better. Unlink on stop and check pid only if file exists