Updated connection pool code to properly remove all dead connections instead of only the first one
Added some basic examples