Remove data race from scheduler_test

Signed-off-by: James Myers <jmyers@pivotallabs.com>