Avoid dispatch in the middle of location action dispatch