Set socket linger to 0 on exit.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>
Add logger to posttroll.

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