Properly call PQFinish after failed connection attempts to stop leaking socket file descriptors
diff --git a/diesel/src/pg/connection/raw.rs b/diesel/src/pg/connection/raw.rs
index 98eb4f9..a57cde2 100644
--- a/diesel/src/pg/connection/raw.rs
+++ b/diesel/src/pg/connection/raw.rs
@@ -32,6 +32,9 @@
             }
             _ => {
                 let message = last_error_message(connection_ptr);
+				
+                unsafe { PQfinish(connection_ptr) }
+				
                 Err(ConnectionError::BadConnection(message))
             }
         }