Improving pool scheduler