Callbacks call from Java are now thread-safe