freeConnections synchronized

freeConnections synchronized in method getconnections() instead of full
synchronized method get()