Fixed ::isAlive() method does not recognize protocol shutdown