Fix misplaced curly brace in is_resumed/2