Handle UDP in seperate thread.
Retry connection.
Handle exceptions in threads.
Handle KeyboardInterrupt.
Merge pull request #10 from serathius/error_handling

Error handling