Replace polling with async response handling
Replace polling with async response handling

This fixes a race condition where a notification is sent when we're
waiting for a response from the kernel.

fhunleth/net_basic.ex