Update source-Database.module

Return null after failed connection. Because whats the point of continuing if we aren't connected.