Added sleep to emulate processing time.