Why the code inside the print method below gets executed before listen method? Shouldn\'t the scheduled method start job after the applicationcontext starts?