core: tweaking scheduling queue to not be able to starve stack