My H1 B is pending and Dependent Status

I am on Cap-Gap and my H1-B Application is under process with an RFE and in the cap-gap period I bought my wife and kids to USA who were earlier on F2 visa through which they also obtained CAP-GAP.

At the moment my CAP-GAP is ending on September 30th 2017, That applies to my wife and kids

I dint filled H4 for my wife and kids at the time when I applied for H1.

My Concern:

If my H1 doesn’t gets approved by September 30th, will my wife and kids are allowed to stayed in the country. or do they need to go back


can I apply for there H4 right now?