ISPN-4679 need to check if bundle is null from weak reference
ISPN-3743

Ignore some of the errors that can be thrown by a node while stopping:
IllegalStateException and NullPointerException.