Man to be sentenced in attempted jail escape