alfred: Break out of set_data loop when buffer is full

The current limit for data the client program can supply is 9000 bytes. But
client programs providing more than 9000 bytes before they close their socket
would create an endless loop and therefore block the complete daemon program.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>