Don't close the pull request. You can push additional commits to the pull request to fix problems.