Make sure you use the egg wash on both side of the empanada before attempting to close them. Then carefully stretch the dough a bit to make sure both sides are together without any filling in the seam. That should work. It also helps to use a fork to "crimp" the edges.