autoscale: use util:wait_for/1 instead of a separate implementation
autoscale: use util:wait_for/1 instead of a separate implementation

-> this also reduces the CPU time used while waiting
digshock/scalaris,seyyed/scalaris,digshock/scalaris,tectronics/scalaris,digshock/scalaris,tectronics/scalaris,tectronics/scalaris,tectronics/scalaris,tectronics/scalaris,seyyed/scalaris,digshock/scalaris,seyyed/scalaris,tectronics/scalaris,digshock/scalaris,seyyed/scalaris,seyyed/scalaris,digshock/scalaris,seyyed/scalaris,tectronics/scalaris,seyyed/scalaris,digshock/scalaris