nfs4: add a possibility to shutdown state handler

Target: master
Acked-By: Albert Rossi