WFLY-3772 Implement graceful shutdown for JCA