Revert "write pidfile"

This reverts commit c1d248c21be8e6a09476a54b5f18947ad4b2e987.
Revert "match appcontroller by pid"

This reverts commit 19295e20fe80ad62f18994110623308efb348b4e.