Does not seem to work with the threaded version