Throwing `NotSupportedException` for methods returning `Task`

Closes #255.