Graceful resource management.