make sure probe and remove functions are not unmapped while still in use