Derby component to stop page from unloading when it has pending operations