Simplify candidates selection.
Updated changes file.
Remove duplicated constraint.
Make sure connection file descriptor is inside the context.

This is really important to avoid leacking connections.