WEB 1016: Unicorns got stuck with a nil alternate database connection

@primiti  Can you review?