Removing $pid file.