test exceptions in threads
add documentation and release