Added absolute value to adjwait value to prevent negative wait values