callback should be called at the end of all recursive calls have finishe...

Adding a "depth" parameter to check if function has finished all recursions. Because we only want to call the "callback" function once - after all children and the parent znode has been recursively deleted.