Server closing with SIGINT functionality done.

Signed-off-by: Krzysztof Opasiak <ups100@tlen.pl>