TODO
Test mutex.
Clear line.
contactsByNodeId
Security warning.