Apparatus for forming gas blocking layer and method thereof