Added sleeps and more prints to the example application for better illustration.