use common package for pid file gurading