make sure to look for pid file before killing