Added in_error for isAlive method