added pid kill for sync