refactoring:
- only one thread factory is allowed now.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>