Change the order of memory management to come before concurrency.