Clean up FSAPI before exec().