Fix some -Wall suggestions
Do not block on getNodeId