Check for driver methods before calling them and reset them on close.