A migrant sex offender who was mistakenly released from jail was seen by a delivery driver “returning four or five times” to the prison reception, as he hanged outside for around “an hour and a half”.