Improved jids database, started using keep_jobs time