The thing you have to honestly answer though is whether or not you're going to do the same thing with a beardie. They aren't all calm and they will still poop on you.
Bearded dragons also require much more care. Spend time really researching them. Several months of researching.
You can also try training the snake to be less stressed with handling (baby steps, getting used to your scent, just your hand in the cage, just your hand near him, etc), as well as making sure that his enclosure is allowing him to feel secure. But yeah, some corns are just flighty so-and-so's.
In the end it's up to you. Rehoming the snake is not a terrible idea. But be actually honest with yourself and consider what you'll do if your beardie doesn't want to interact with you either.