Add new funtion idle_workers