Improve SpooledDirectory with parallelism on main action
Fix condition of closing network connections by setting lastTimeUsed
Various small fixes