Reduce the chance for race conditions and extraneous ajax requests to occur.