Make pulling callbacks non-blocking, and deal with bug when retrieving multiple callbacks.