added $interval for isAlive methods.