Make sure the server always sends a reply.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>