Add 1 second timeout to event loop thread join()

Relates to #24