A solar filament disconnected by magnetic reconnection