changed stop method to reflect changes to recent Nxt client code changes