change rmdir to pid dir