Actually add callbacks the endCallbacks array