Change scheduled_thread_pool to only replace existing key'd entry if the
new entry is sooner in time than the existing one