Added removeCallback passing

Added removeCallback passing.
Usefull for daemons that need to create some directory and remove it when the work is done.
What is the reason the keep the remove variable? Only the `removeCallback` function could set this var and therefore will be never true at the check.