File Directory Connector Fails Ingest If One Of The Files Is Still Being Written

We are using the file directory connector ingest from a local file system, to take in large files, however we’ve noticed if at least one of the files is still being written, the connector will fail, citing an JavaIOException, that another process is already accessing this file, is there any way for this to be handled gracefully to not abort the other files as there’s also no way to exclude these files from the sync

Thank you in advance!