Created a timer to send messages