Added sleep in msg sending view