change datatype for timeouts from size_t to cxxtools::Timespan