If it works when you manually convert, it look like server limiting the process. Changing to background process and setting the cronjob may fix the problem.