Add API methods and UI to stop and restart import operations.