Stop actor when connection is closed