Gap Aware Mitigation of Gradient Staleness