TS: added timer support, WIP testing and impl. closing all relevant FDs on shutdown.
TS: testing nr. of open file-descriptors, extracted countFDs to fdutils.