Added null check for scan results to prevent a nullpointer-exception
Switched to non-blocking send to prevent blocking the connector thread on connection errors