freight persistent thread nullable cargo loop parallelism application logistics distribution high shipping warehousing performance management