using timer for MSD wait routine