Hamilton set for Gloucester exit