We need to create the client before calling super start and in the doStop method we need to stop the scheduler before stopping and nulling the client.