Implemented use case closing the module