We are experiencing same problem. I changed the code to check if there are tools calls instead of finish reason.