close controllers in background state