Fixed meta-functions to exit thread correctly after using Exit or Throw.