Check if pool is closed when getting a connection
Fixed example tests not checking errors after connecting
Merge branch 'feature/nilpoolfix' into develop