Added kill_idle stored procedures.