my lawyer said that H or L visa holder can leave US as soon as he/she received I-485 receipt, do not need to wait for AP. You should make sure about that.