Fix priority

This PR changes priority on connections such that the higher priority executes before a lower priority. This behavior is more intuitive, but it is a breaking change in react. 

In fixing this up, a bug was found (and fixed) in connection closing during dispatch.