FIX: memory leak.

Interface name was not freed when config_close() was called.
Free allocated memory on exit.

Signal handling, die gracefully.