Setting maximum idle instances count to 2.