A person who attempts to commit an offence under section 157 is liable on conviction on indictment to imprisonment for 5 years.