Long time behavior of a wave equation with time-varying delay and acoustic boundary conditions