decouple JobQueue interface and its impl.