hotfix
added try/except block to api server init