fixing pid file

Change-Id: I2a9fbe5f7522ba9fed64415b5f7b230ee50cfc23