Command execution put in thread to quickly return the control back to the user. An ajax call is scheduled a sec after the command execution happens. It decreased the latency to get back data