Running the node stats api while a shard is moving onto the node logs an exception
fixes #4203