Need to reset app view functions to prevent Flask assertion error on resetting view functions.
Add port option.
clean backend finding