Scientist is researching a pill that she hopes will prevent at-risk individuals from experiencing chronic loneliness.