executor/app: do not lock marsdb more time than needed
Free marsdb earlier, once we have retrieved all the information about ports from marsdb, we don't need to lock it longer.
Fixes: https://gitlab.freedesktop.org/mupuf/valve-infra/-/issues/138
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Free marsdb earlier, once we have retrieved all the information about ports from marsdb, we don't need to lock it longer.
Fixes: https://gitlab.freedesktop.org/mupuf/valve-infra/-/issues/138