Fix for smart manager requests queueing up

Make ajax call only when previous one completes, for cpu and network
widgets