Make sure we kill the server before we leave

A possible fix for #32.

Signed-off-by: Pedro Melo <melo@simplicidade.org>