added pid checking to prevent overlappying jiffy-clients running