The investigation into the ketamine supplied to actor Matthew Perry before his death in October is nearing its end.