init: Use pidfile for status check.

This is necessary to avoid returning false positives whenever Python 3
is running.